var express = require('express');
var router = express.Router();
var cluster = require('cluster');

router.get('/a', function (req, res, next) {
    //   res.send('respond with a resource');
    res.json({
        id: cluster.worker.id
    });
});

module.exports = router;